//
//  HYMineSetManager.h
//  XPlayer
//
//  Created by liguoqing on 2023/9/7.
//

#import <Foundation/Foundation.h>


typedef NS_ENUM(NSInteger, HYLayoutType) {
    HYLayoutType_List,          //列表
    HYLayoutType_Collection,    //网格
};

NS_ASSUME_NONNULL_BEGIN

@interface HYMineSetManager : NSObject

+ (instancetype)shareManager;
// 布局类型
@property (nonatomic, assign) HYLayoutType layoutType;

// 设置私密提示
@property (nonatomic, assign) BOOL isPrivacyTip;

// 判断是否第一次按钮
@property (nonatomic, assign) BOOL isFirstInstall;

//**允许移动网络下载*/
@property (nonatomic, assign) BOOL isAllowNetwork;

//**自动播放下一个*/
@property (nonatomic, assign) BOOL isAutoPlayNext;

//**允许后台播放*/
@property (nonatomic, assign) BOOL isAllowBackground;

//**允许后台播放*/
@property (nonatomic, assign) BOOL isMutePlayback;

//**无痕预览*/
@property (nonatomic, assign) BOOL isAllowPrivateBrowse;

//**截屏后是否保存到相册*/
@property (nonatomic, assign) BOOL isAllowScreenShotSavePhoto;

//**是否接受*/
@property (nonatomic, assign) BOOL isAccepAgreement;

//**app主题模式*/
@property (nonatomic, assign) NSInteger appThemeMode;

// 用户第一次安装设置初始值
+ (void)firstInstallSetInitialParameters;

+ (void)clearAppCache;

// 退出应用程序
+ (void)exitApplication;

@end

NS_ASSUME_NONNULL_END
